package com.example.teesystem.entityDto;

import com.example.teesystem.entity.ExamIssue;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.BeanUtils;

/**
 * @author : NieYaShi
 * @version : v1.0
 * @createTime : 2022/4/15 16:21
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ExaminationIssueList {

    private Integer paperId;

    private Integer issueId;

    private Integer score;

    private IssueBriefMessage issueBriefMessage;

    public ExaminationIssueList(ExamIssue examIssue){
        BeanUtils.copyProperties(examIssue, this);
    }

}
